<div class="topic media topic-<%= topic.id%>">
	<div class=" media-left avatar">
		<%= link_to gravatar_for(topic.user,size: "60"),user_path(topic.user_id)%>
	</div>
	<div class="infos media-body">
		<div class="media-heading">
			<%= link_to truncate(topic.title,length:100),topic_path(topic.id)%>
		</div>
		<div class="info">
			<%= link_to topic.node.name,node_topics_path(topic.node_id)%> .
			<%= link_to topic.user.name,user_path(topic.user_id)%>
			<%= "最后由xxx于"+ time_ago_in_words(topic.created_at)+"前发表/回复"%>
		</div>
	</div>
	<div class="media-right reply_count">
		<%= link_to topic.replies_count,topic_path(topic)%>
	</div>
</div>
